.class Lcom/waiqin365/lightapp/order/ae;
.super Lcom/waiqin365/lightapp/product/c/h;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/order/OrderInfoActivity;DDLandroid/widget/EditText;Ljava/lang/String;Ljava/lang/String;)V
    .locals 10

    iput-object p1, p0, Lcom/waiqin365/lightapp/order/ae;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    move-object v1, p0

    move-wide v2, p2

    move-wide v4, p4

    move-object/from16 v6, p6

    move-object/from16 v7, p7

    move-object/from16 v8, p8

    invoke-direct/range {v1 .. v8}, Lcom/waiqin365/lightapp/product/c/h;-><init>(DDLandroid/widget/EditText;Ljava/lang/String;Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 7

    const-wide/16 v4, 0x0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/order/ae;->a(I)V

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/product/c/h;->afterTextChanged(Landroid/text/Editable;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/order/ae;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/order/ae;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/OrderInfoActivity;->g(Lcom/waiqin365/lightapp/order/OrderInfoActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/b;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v0

    invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, v4, v5}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;D)D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/order/ae;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/order/OrderInfoActivity;->l(Lcom/waiqin365/lightapp/order/OrderInfoActivity;)Landroid/widget/TextView;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v6, "\u00a5"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    sub-double/2addr v0, v2

    invoke-virtual {v6, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method
